package com.yipei.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yipei.common.annotation.Excel;
import com.yipei.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 账号融资对象 ml_trade_account_financing
 *
 * @author yipei
 * @date 2024-12-23
 */
@Data
@ApiModel(value = "账号融资", description = "账号融资")
@TableName("ml_trade_account_financing")
public class MlTradeAccountFinancing extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "表ID", position = 1)
    private Long id;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", position = 2)
    @Excel(name = "备注")
    private String remarks;

    /**
     * 交易账号
     */
    @Excel(name = "交易账号")
    @ApiModelProperty(value = "交易账号", position = 3)
    private String tdAcc;

    /**
     * 总额度
     */
    @Excel(name = "总额度")
    @ApiModelProperty(value = "总额度", position = 4)
    @TableField("a_limit")
    private BigDecimal alimit;

    /**
     * 月费率
     */
    @Excel(name = "月费率")
    @ApiModelProperty(value = "月费率", position = 5)
    private BigDecimal rate;

    /**
     * 已用额度
     */
    @Excel(name = "已用额度")
    @ApiModelProperty(value = "已用额度", position = 6)
    private BigDecimal yyEd;
    @ApiModelProperty(value = "优惠利率", position = 6)
    @TableField(exist = false)
    private BigDecimal yh_ll;
    @ApiModelProperty(value = "已还利息", position = 6)
    @TableField(exist = false)
    private BigDecimal yh_qk;
    @ApiModelProperty(value = "总利息", position = 6)
    @TableField(exist = false)
    private BigDecimal z_qk;
    @ApiModelProperty(value = "已还本金", position = 6)
    @TableField("hb_je")
    private BigDecimal hbJe;

    @ApiModelProperty(value = "已还利息", position = 6)
    @TableField("hx_je")
    private BigDecimal hxJe;

    @ApiModelProperty(value = "总利息", position = 6)
    @TableField("zlx_je")
    private BigDecimal zlxJe;


    @ApiModelProperty(value = "还款状态", position = 6)
    @TableField("hk_zt")
    private String hkZt;
    @TableField(exist = false)
    private BigDecimal thisRepayment;

    @TableField(exist = false)
    private BigDecimal thisInterest;
}
